<?php
// +----------------------------------------------------------------------
// | 状态码设置
// +----------------------------------------------------------------------

return [
    "success" => 200,
    "error" => 500,
    "not_login" => 401,
    "not_auth" => 403,

    "user_is_register" => -2,
    "action_not_fount" => -3,
    "controller_not_found" => -4,

    //mysql相关的状态配置
    "mysql" => [
        "table_normal" => 1, //正常
        "table_pedding" => 0, //待审核
        "table_delete" => 99, //删除
    ],
];
